{extend name="base" /}
{block name="body"}
<div class="box box-primary">
	<div class="box-header with-border">
		<h3 class="box-title">{$meta_title}</h3>
	</div>
	<div class="box-body">
		<!-- 修改密码表单 -->
		<form method="post" class="form-horizontal" role="form">
			<div class="form-group">
				<label class="col-sm-2 control-label">原密码:</label>
				<div class="col-sm-10">
					<input type="password" name="oldpassword" class="form-control " data-rule="required" autocomplete="off" />
					<div class="help-block"></div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">新密码:</label>
				<div class="col-sm-10">
					<input type="password" name="password" class="form-control " data-rule="required;password" autocomplete="off" />
					<div class="help-block"></div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">确认密码:</label>
				<div class="col-sm-10">
					<input type="password" name="repassword" class="form-control " data-rule="required;match(password)" autocomplete="off" />
					<div class="help-block"></div>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<input type="hidden" name="uid" value="{:session('userInfo.uid')}">
					<button type="submit" class="btn btn-success submit-btn">确认提交</button>
					<button class="btn btn-danger btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
				</div>
			</div>
		</form>
	</div>
</div>
{/block}